PaymentPlugins\WooCommerce\PPCP\Admin\Settings\APISettings S

Total Complexity 37
Dependencies 3
Dependents 18
Total lines 485
Lines of code 419
Logical lines of code 89
Comment lines 35
Methods 19
Properties 1

Methods 19

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
28
5 199
generate_connect_link()
A
39 5 74
process_admin_options()
S
58 5 15
generate_paypal_button_html()
S
50 3 29
generate_webhook_button_html()
S
48 1 38
admin_options()
S
65 3 8
get_client_id()
S
74 2 4
is_connected()
S
67 2 7
get_settings_script_data()
S
61 1 13
debug_webhook_enabled()
S
79 1 3
is_admin_only_mode()
S
78 1 3
debug_payment_enabled()
S
79 1 3
__construct()
S
75 1 4
set_webhook_id()
S
79 1 3
get_webhook_id()
S
78 1 3
is_sandbox()
S
80 1 3
get_environment()
S
80 1 3
get_admin_script_dependencies()
S
76 1 4
get_access_token()
S
79 1 3